using UnityEngine;
// [Assembly-CSharp.dll].IsUnlocked
public class IsUnlocked : MonoBehaviour
{
    // Fields
    public int index;
    public bool isMakeUp;
    public bool noLock;
    
    // Methods
    private void Start()
    {
        this.CheakSelected(type:  0);
    }
    public void CheakSelected(int type)
    {
        string val_1 = type.ToString();
        string val_2 = this.index.ToString();
        if(this.isMakeUp != false)
        {
                if((UnityEngine.PlayerPrefs.GetInt(key:  -1610597331(-1610597331) + val_1 + val_2)) != 1)
        {
                if(this.noLock == false)
        {
            goto label_3;
        }
        
        }
        
            UnityEngine.Transform val_5 = this.transform;
        }
        else
        {
                if((UnityEngine.PlayerPrefs.GetInt(key:  -1610597747(-1610597747) + val_1 + val_2)) != 1)
        {
                if(this.noLock == false)
        {
            goto label_7;
        }
        
        }
        
        }
        
        this.transform.GetChild(index:  1).gameObject.SetActive(value:  false);
        label_20:
        this.transform.GetComponent<System.Object>().interactable = true;
        return;
        label_3:
        UnityEngine.Transform val_13 = this.transform;
        goto label_14;
        label_7:
        label_14:
        this.transform.GetChild(index:  1).gameObject.SetActive(value:  true);
        Unknown val_18 = this.transform.GetComponent<System.Object>();
        goto label_20;
    }
    public IsUnlocked()
    {
    
    }

}
